Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Molten Strike (+Zenith) ball average overlap calculations #8427

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

andyli00
Copy link

Fixes #8426

Description of the problem being solved:

Molten Strike and it's transfigured version now have calculations for average ball overlap on single targets.

Zenith also has a weighted average of its normal and 5th attack balls to estimate overall ball dps.

Steps taken to verify a working solution:

  • tested on various molten strike builds on poe.ninja and calculations compared to the online calculator
  • correctly factors # projectiles, quality, and increased/reduced aoe and projectile speed

Link to a build that showcases this PR:

https://poe.ninja/builds/settlers/character/turdtwisterx%234882/NeedForSteveUnderground

Before screenshot:

image
image

After screenshot:

image

overlap chance calcs
image
image

zenith weighted average for overall ball dps
image
I had do a bit of a workaround in making an effective multiplier instead of actually averaging the two final dps values for normal and 5th attack balls because afaik there's no way to know those values in the preDamageFunc. The math is right though.

This is a little big for my first PR, so if there's anything I'm missing please do let me know. Feedback is welcome and appreciated, especially for the zenith weighted average if there's any better way to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Molten Strike - add average ball overlap calculations
1 participant